package com.sensologyhome_all.config;


import java.util.Set;

public class GlobalValue {
//    public static UserInfo USER_INFO;
    //服务器返回的token值
    public static String SERVICE_TOKEN;
    // 用户曾经绑定过的设备
//    public static AirBox AirBoxInfo;
    // 设备语言
    public static int DeviceLanguage;
    // 是否读到数据
    public static boolean DataIsReaded;
    // 各类型的警告值
    public static float Ch2oWarnValue = 0.08f;
    public static float TvocWarnValue = 0.2f;
    public static float Pm2WarnValue = 50f;
    public static float TempWarnHeightValue = 28f;
    public static float TempWarnLowValue = 18f;
    public static float HumWarnHeightValue = 60f;
    public static float HumWarnLowValue = 30f;
    // 各类型的报警值
    public static float Ch2oAlarmValue = 0.8f;
    public static float TvocAlarmValue = 1.5f;
    public static float Pm2AlarmValue = 200f;
    public static float TempAlarmHeightValue = 32f;
    public static float TempAlarmLowValue = 14f;
    public static float HumAlarmHeightValue = 80f;
    public static float HumAlarmLowValue = 20f;
    // 各类型的偏移值
    public static int Ch2oOffsetValue = 0;
    public static int TvocOffsetValue = 0;
    public static int Pm2OffsetValue = 0;
    public static int Pm1OffsetValue = 0;
    public static int Pm10OffsetValue = 0;
    public static int TempOffsetValue = 0;
    public static int HumOffsetValue = 0;
    // 各类型的设备报警值
    public static int TotalDeviceAlarmValue = 0;
    public static int Ch2oDeviceAlarmValue = 0;
    public static int TvocDeviceAlarmValue = 0;
    public static int Pm2DeviceAlarmValue = 0;
    public static int Pm1DeviceAlarmValue = 0;
    public static int Pm10DeviceAlarmValue = 0;
    public static int TempDeviceAlarmValue = 0;
    public static int HumDeviceAlarmValue = 0;
    // 各类型的状态值
    public static int AlarmStatusValue = 0;
    public static int CycleStatusValue = 0;
    public static int SilenceStatusValue = 0;
    public static int LightStatusValue = 0;
    public static int BrightnessStatusValue = 0;
    public static int AlarmCancelStatusValue = 0;
    public static String TimeStatusValue = "";
    public static String ColorStatusValue = "";
    // 用户当前连接的设备的Index
    public static int CurrentDeviceIndex;
    // 用户曾经绑定过的设备的名称
    public static Set<String> DeviceMacSet;
    //
    public static int mPointWidth;
    // 用户密码
    public static String UserPassword;
    //是否使用手机时间
    public static boolean UsePhoneTime = true;
    //是否允许按键震动
    public static boolean IsAllowVibrator = true;
    //是否允许按键音量
    public static boolean IsAllowVoice = true;
    //是否允许推送
    public static boolean IsAllowPush = true;
    //是否是夜间模式
    public static boolean IsNightMode = false;
    // 获取远程设备成功
    public static boolean GetRemoteDeviceIsSuccess = false;
    // 获取设备登录成功
    public static boolean DeviceLoginSuccess = false;
    //本地存储的SharedPreference的名字
    public static String SPF_Name = "sensology";
    //本地存储的token值
    public static String TOKEN = "sensology-teamx";
}
